package se.chalmers.tda366.crumble.gui.components;


import javax.swing.JButton;

import se.chalmers.tda366.crumble.core.IFeed;


public class FeedButton extends JButton{
	private IFeed feed;
	
	public FeedButton(IFeed feed){
		this.setText(feed.getName());
		this.feed=feed;
	}
	
	public IFeed getFeed(){
		return feed;
	}

}
